﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IdeasFree.SharePoint.StsAdm.Logger;

namespace IdeasFree.SharePoint.StsAdm
{
    public sealed class Tools
    {
        private ILogger _eventLogger;
        Tools(ILogger eventLogger)
        {
            _eventLogger = eventLogger;
        }

        public static Tools Instance
        {
            get
            {
                return InternalTools.instance;
            }
        }

        public ILogger EventLogger
        {
            get
            {
                return _eventLogger;
            }
        }

        class InternalTools
        {
            static InternalTools()
            {

            }

            internal static readonly Tools instance = new Tools(new EventLogger());
        }
    }
}
